.bilibli-nav {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
    /* nav左侧入口 */
}

.left-entry {
    display: flex;
}

.left-entry .entry-title {
    display: flex;
    align-items: center;
    height: 64px;
    color: #fff;
    margin-left: 15px;
    transition: all .3s;
}
.left-entry .entry-title:hover{
    color: #2700ec;
}

.left-entry .entry-title svg {
    margin-right: 6px;
}

/* 搜所区域 */
.center-search-container {
    margin-left: 12px;
    flex: 1;
    height: 40px;
    padding: 0 48px 0 4px;
    border-radius: 8px;
    border: 1px solid #e3e5e7;
    background-color: #f1f2f3;
    display: flex;
    align-items: center;
    position: relative;
    transition: all .2s;
}

.center-search-container:hover {
    background-color: #e3e5e7;
}

.center-search-container .nav-searh-content {
    display: flex;

    height: 20px;
    width: 100%;
    padding: 0 8px;
}

.nav-searh-content .nav-search-input {

    flex: 1;
    background-color: rgba(234, 18, 18, 0);
    line-height: 20px;
    overflow: hidden;
    padding-right: 8px;
}

.center-search-container .nav-search-button {
    position: absolute;
    top: 4px;
    right: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 32px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 1s;
}

.center-search-container .nav-search-button:hover {
    background-color: aqua;
    transform: rotate3d(0, 1, 0, 360deg)
}

/* nav 右侧入口 */
.right-entry {
    display: flex;
    margin-left: 10px;
    align-items: center;
}

.right-entry .header-avatar {
    display: flex;
    height: 50px;
    width: 50px;
    padding-right: 10px;
    position: relative;

}

.right-entry .header-avatar a {
    position: absolute;
    top: 6px;
    left: 10px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    background-color: #00aeec;
    display: flex;
    justify-content: center;
    border: 2px solid #fff;
    color: #f0f8fa;


}

.right-entry .right-entry-item {
    min-width: 50px;
    margin-right: 4px;


}

.right-entry .right-entry-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    transition: all .3s;
}
.right-entry .right-entry-item a:hover{
    color:#2700ec;
}

.right-entry .upload {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 34px;
    line-height: 34px;
    border-radius: 8px;
    color: #d2e0e8dc;
    background-color: #fb72c4;
    margin-left: 10px;


}

.right-entry .upload svg {
    margin-right: 1px;
    vertical-align: text-bottom;
}

.right-entry .upload a {
    color: #fff;
}

/* banner */
.bilibli-nav {
    position: absolute;
    top: 0px;
    z-index: 1;
}

.bili-bannner {
    position: relative;
    height: 155px;
    width: 100%;
    overflow: hidden;
}

.bili-bannner img {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bili-bannner .logo {
    width: 100%;
    height: 100%;
    padding: 0 64px;
    display: flex;
    align-items: flex-end;
}

.bili-bannner .logo a {
    position: relative;
    width: 162px;
    height: 78px;
    margin-bottom: 10px;
}

/* 频道区域 */
.bili-channel {
    height: 110px;
    padding: 0 60px;
    display: flex;
    align-items: center;
}

.bili-channel .channel-icon {
    display: flex;
}

.bili-channel .channel-icon a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 24px;
}

.bili-channel .icon-bg {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 6px;

}

.bili-channel .icon-bg_dynamic {
    background-color: coral;
}

.bili-channel .icon-bg_popular {
    background-color: rgb(173, 80, 255);
}

.bili-channel .icon-bg_channel {
    background-color: rgb(26, 208, 90);
}

.bili-channel .icon-bg svg {
    width: 25px;
    height: 25px;

}

.bili-channel span {
    text-align: center;
}

/* 左侧频道栏 */
.bili-channel .right-channel-container {
    width: 100%;
    display: flex;

}

.bili-channel .channel-item-left {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 10px;
    width: 100%;
}

.bili-channel .channel-item-left a {
    height: 26px;
    line-height: 26px;
    background-color: #f6f7f8;
    border: 1px solid #f1f2f3;
    border-radius: 6px;
    text-align: center;
    color: #61666d;
    transition: all .3s;
}
.bili-channel .channel-item-left a:hover{
    background-color: #0872dc;
    color: #fff;
}

/* 右侧频道 */
.bili-channel .channel-item-right {
    width: 240px;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    row-gap: 10px;
    flex-shrink: 0;
    grid-auto-flow: column;
    margin-left: 30px;
    border-left: 2px solid #e3e5e7;
}

.channel-item-right a {
    width: 100%;
    height: 28px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-end;

}

.channel-item-right svg {
    width: 20px;
    height: 20px;
    margin-right: 4px;
    fill: #61666d;
}

.channel-item-right span {
    color: #61666d;
}

.main {
    width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
   
    
   
}

.main .recommended-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;

}
.main .recommended-card .image-mask {
    transition: all .4s;
}
.main .recommended-card .card-image {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    
}
.main .recommended-card  :hover .image-mask{
    opacity: 0;
}
.main .card-image img {
    width: 100%;
    height: 100%;
transition: all .3s;
}
.main .card-image img:hover{
    transform: scale(1.3, 1.3);
}

.card-image .image-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 16px 8px 6px;
    width: 100%;
    box-sizing: border-box;
    height: 38px;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .8)100%);
    color: #f0f8fa;
    font-size: 13px;
    display: flex;
    align-items: center;
   
}

.card-image .image-mask .stats-left {
    display: flex;
    flex: 1;
    align-items: center;
}

.card-image .stats-left .stats-item {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.image-mask svg {
    width: 18px;
    height: 18px;
    color: #fff;
    margin-right: 2px;
}

/* 底部信息 */
.card-info h3 {
    line-height: 22px;
    padding-right: 16px;
    font-size: 15px;
    
    /* 内容省略写法 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-info h3 a{
    transition: all .3s;
}
.card-info h3 a:hover{
    color: #00aeec;
    
}

.info-bottom {
    margin-top: 4px;
    display: flex;
    font-size: 13px;

}

.info-bottom a {
    color: #949494;
    display: flex;
    align-items: center;
}

.info-bottom svg {
    width: 17px;
    height: 17px;
    margin-right: 2px;

}

.info-bottom .info-date {
    margin-left: 4px;

}
/* 轮播图 */
.recommended-container .carousel-area{
    grid-row: 1/3;
    grid-column: 1/3;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    

}
.carousel-area img{
    width: 100%;

}
.carousel-area .mask{
    width: 100%;
    height: 392px;
    position: absolute;
    top: 1px;
    background: linear-gradient(0,rgb(42, 137, 196) 23%, transparent 35%);
    border-radius: 6px;
}
.carousel-area .tools{
    width: 100%;
    position: absolute;
    bottom: 94px;
    left: 0px;
    padding: 0 15px;
    box-sizing: border-box;

}
.carousel-area .tools a{
   display: flex;
   margin-bottom: 10px;
   font-size: 18px;
   color: #fff;

}
.carousel-area .tools ul{
    display: flex;
}
.carousel-area .tools li{
   width: 8px;
   height: 8px;
   margin: 4px;
   border-radius: 50%;
   background-color:#fff6 ;
   cursor: pointer;
}
.carousel-area .tools  .active{
    width: 14px;
    height: 14px;
    margin: 1px;
    background-color: #fff;
}
.carousel-area .tools .buttons{
    position: absolute;
    bottom: 23px;
    right: 15px;
}
.tools button{
   width: 28px;
   height: 28px;
   border-radius: 8px;
   margin-right: 8px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background-color: #ffffff47;
   border:none;
}
.tools button:last-child{
    margin-right: 0;
}
.tools button p{
    width: 12px;
    height: 12px;
    color: #fff;
}
